package com.dragonfly.shutter.stub;

import com.dragonfly.shutter.utils.SendMail;

/**
 * 发送邮件功能桩，模拟发送邮件功能，能够获得邮件正文
 * @author jinlingjie
 *
 */
public class SendMailStub extends SendMail {
	private String text;
	
	@Override
	public void send(String sendTo, String subject, String text)
	{
		this.text = text;
	}

	/**
	 * @param text the text to set
	 */
	public void setText(String text) {
		this.text = text;
	}

	/**
	 * @return the text
	 */
	public String getText() {
		return text;
	}
}
